package eu.whowie.jast.remote;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface UIRemoteInterface extends Remote {
	public void ping(String value) throws RemoteException;

	public void connect(YastServer server) throws RemoteException;

	public void disconnect(YastServer server) throws RemoteException;

	/**
	 * for connection testing purpose, in correct state, ping should return id
	 * 
	 * @param ping
	 * @return
	 */
	public long ping(long id) throws RemoteException;
}
